package com.cucumber.listener;

import com.aventstack.extentreports.ResourceCDN;
import com.aventstack.extentreports.reporter.ExtentHtmlReporter;
import com.cucumber.listener.ExtentCucumberFormatter;
import gherkin.formatter.Formatter;
import gherkin.formatter.Reporter;
import gherkin.formatter.model.Match;
import gherkin.formatter.model.Result;

import java.io.File;

public class CucumberListener extends ExtentCucumberFormatter {

    public CucumberListener(File file) {
        super(file);
        ExtentHtmlReporter htmlReporter =getExtentHtmlReport();
        htmlReporter.config().setResourceCDN(ResourceCDN.EXTENTREPORTS);

    }


}
